﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace University.Workshop.Model
{
    public class SaleVariables
    {
        private static SaleVariables instance;

        public string IdClient {get; set;}
        public string FullNameClient{get; set;}
        public string ProductCode { get; set; }
        public string[] ReplyProducts { get; set; }
        public int IndexProductsReply { get; set; }
        public bool ResetReplyProducts()
        {
            ReplyProducts = new string[50];
            return true;
        }
        public static SaleVariables Instance
        {
            get
            {
                if (instance == null)
                    instance = new SaleVariables();
                return instance;
            }
        }
    }
}
